package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 二维码巡更点
 * </p>
 *
 * @author neo
 * @since 2020-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CrmSearchPoint对象", description="二维码巡更点")
public class CrmSearchPoint implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "二维码巡更点id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "二维码巡更点名称")
    @TableField("search_point_name")
    private String searchPointName;

    @ApiModelProperty(value = "楼栋区域名称")
    @TableField("building_area_name")
    private String buildingAreaName;

    @ApiModelProperty(value = "楼栋名称")
    @TableField("building_name")
    private String buildingName;

    @ApiModelProperty(value = "楼层名称")
    @TableField("building_floor_name")
    private String buildingFloorName;

    @ApiModelProperty(value = "二维码信息")
    @TableField("qr_code")
    private String qrCode;

    @ApiModelProperty(value = "是否生效 0:未生效 1:生效")
    @TableField("is_live")
    private Boolean isLive;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    @TableLogic
    private Boolean isDeleted;


}
